package guopai.android.outfieldcheck;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.LinearLayout;

public class MainActivity extends Activity {

	private LinearLayout car_list;
	private LinearLayout car_check;
	private LinearLayout data_syc;
	private LinearLayout about;
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		this.setContentView(R.layout.main);
		car_list = (LinearLayout)this.findViewById(R.id.car_list);
		car_check = (LinearLayout)this.findViewById(R.id.car_check);
		data_syc = (LinearLayout)this.findViewById(R.id.data_syc);
		car_list.setOnClickListener(new OnClickListener(){

			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				Intent it=new Intent(MainActivity.this,AutoListActivity.class);
				startActivity(it);
			}});
		car_check.setOnClickListener(new OnClickListener(){

			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				Intent it=new Intent(MainActivity.this,CarCheckBasicActivity.class);
				startActivity(it);
			}});
		data_syc.setOnClickListener(new OnClickListener(){

			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				Intent it=new Intent(MainActivity.this,DataSycActivity.class);
				startActivity(it);
			}});
	}
	
	
	

}
